package com.ruoyi.cases.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 案件管理对象 jl_case
 *
 * @author 李洪明
 * @date 2023-05-23
 */
public class JlCase extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long id;
    /**
     * 部门
     */
    @Excel(name = "部门")
    private String deptName;
    /**
     * 上报人
     */
    @Excel(name = "上报人")
    private String nickName;
    /** 案件类型 */
    @Excel(name = "案件类型")
    private String caseType;
    /**
     * 案件名称
     */
    @Excel(name = "案件名称")
    private String name;

    /**
     * 案件日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "案件日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /**
     * 案件内容
     */
    @Excel(name = "案件内容")
    private String content;

    /**
     * 案件视频
     */
//    @Excel(name = "案件视频")
    private String videos;

    /**
     * 案件文件
     */
//    @Excel(name = "案件文件")
    private String files;

    /**
     * 案件照片
     */
//    @Excel(name = "案件照片")
    private String images;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;
    /**
     * 所属单位
     */
    private Long deptId;

    /** 音频 */
//    @Excel(name = "音频")
    private String audios;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Date getDate() {
        return date;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setVideos(String videos) {
        this.videos = videos;
    }

    public String getVideos() {
        return videos;
    }

    public void setFiles(String files) {
        this.files = files;
    }

    public String getFiles() {
        return files;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getImages() {
        return images;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getCaseType() {
        return caseType;
    }

    public void setCaseType(String caseType) {
        this.caseType = caseType;
    }

    public String getAudios() {
        return audios;
    }

    public void setAudios(String audios) {
        this.audios = audios;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("date", getDate())
                .append("content", getContent())
                .append("videos", getVideos())
                .append("files", getFiles())
                .append("images", getImages())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
